#pragma once

#include <DMainWindow>

#include <QDateTime>
#include <QWidget>

DWIDGET_USE_NAMESPACE

class MoveByCursorWindow : public QWidget
{
    Q_OBJECT

public:
    explicit MoveByCursorWindow(QWidget *parent = nullptr);
    virtual ~MoveByCursorWindow() override;

protected:
    virtual void mousePressEvent(QMouseEvent *event) override;

private:
    DMainWindow *m_w;
};
